home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 8 / fastbak.zip / FB.DOC < prev    next >
Text File  |  1986-09-01  |  7KB  |  168 lines

  1. *** FASTBAK.ARC ***** BATCH FILE FOR FASTBACK PROGRAM ******* v.2.0 *** 09/01/86
  2.  
  3. ********************************************************************************
  4.    FASTBACK (tm) is a registered trademark of Fifth Generation Systems, Inc.
  5. ********************************************************************************
  6.  
  7. PURPOSE: To give users, a quick and easy way to use the FASTBACK (tm)
  8.          v.5.03 backup program.
  9.  
  10.          To give new DOS users an example of a batch file using a few
  11.          public domain tools which are very handy for use with batch files.
  12.  
  13.  
  14. FILES:   The FASTBAK.ARC file contains the following files:
  15.  
  16.        * ASK     .COM │ A Yes/No program which returns an errorlevel  │ [PD]
  17.        * FB      .BAT │ The batch file listed below                   │
  18.          FB      .DOC │ The documentation file you are reading now    │
  19.          FBMENU       │ A menu screen used via MENU.COM               │
  20.        * MENU    .COM │ A program which writes fast screens           │ [PD]
  21.          MENU    .DOC │ The documentation for above                   │
  22.        * PAGE    .COM │ A program to send a form feed to the printer  │ [PD]
  23.        * PRINTSCR.COM │ A program to print the current screen         │ [PD]
  24.        * QUERY   .COM │ A program which returns an errorlevel         │ [PD]
  25.          QUERY   .DOC │ The documentation for above                   │
  26.          SPKR    .SYS │ A program which allows control of speaker     │ [PD]
  27.          SPKR    .DOC │ The documentation for above                   │
  28.        * TT      .EXE │ A program that gives the date, time, and more │ [PD]
  29.  
  30.          The files preceded by an asterisk (*) should be located in a
  31.          subdirectory found on your system path.  Ideally they should be
  32.          on a RAM disk found on your system path in order to attain very
  33.          fast execution.
  34.  
  35.          Note: [PD] means Public Domain
  36.  
  37.  
  38. FORMAT:  FB
  39.  
  40.  
  41. REMARKS: For the FB.BAT batch file to work as listed below, ANSI.SYS and
  42.          SPK.SYS must be installed through CONFIG.SYS with the commands:
  43.  
  44.                           DEVICE=[d:][\path]ANSI.SYS
  45.                           DEVICE=[d:][\path]SPK.SYS
  46.  
  47.          in CONFIG.SYS and CONFIG.SYS must be located in the root directory
  48.          of the hard disk (or boot diskette).  If you do not want to install
  49.          SPK.SYS, then you must remove lines 8 and 58 from the batch file
  50.          (see listing below).
  51.  
  52.  
  53. SETUP:   It is assumed that the following subdirectories exists on your
  54.          hard disk:
  55.  
  56.          C:\FASTBACK  which must contain the FASTBACK (tm) program files
  57.          C:\MENUS     which must contain the file FBMENU
  58.  
  59.          If these files are in different subdirectories, you must change
  60.          lines 3, 5, 47 and 57 of the batch file.
  61.  
  62.  
  63. COLORS:  This batch file is for use with color monitors.  It can easily
  64.          be modified for use with monochrone monitors by changing the
  65.          color attributes.
  66.  
  67.  
  68. SPEED:   The batch file FB.BAT contains several comments in the form of
  69.          labels (all lines beginning with :====) to show the user what
  70.          is where.  These lines (and only these lines) may be removed
  71.          entirely to gain speed in the execution of the bacth file
  72.          (lines 22, 29, 41, 45, 53, 64 and 67).
  73.  
  74. **************************** Listing of FB.BAT *********************************
  75. Note:  This listing is to show the line numbers and cannot be used as is.
  76.        Use the file FB.BAT if you want to make modifications.
  77. ********************************************************************************
  78.  1│ECHO OFF
  79.  2│CLS
  80.  3│C:|CD\FASTBACK
  81.  4│:TOP
  82.  5│MENU C C:\MENUS\FBMENU
  83.  6│ECHO H
  84.  7│TT
  85.  8│ECHO 500,1>SPK:
  86.  9│QUERY "DdFfHhqQRr" "33HYour selection? "
  87. 10│CLS
  88. 11│if errorlevel 114 goto r
  89. 12│if errorlevel 113 goto q
  90. 13│if errorlevel 104 goto h
  91. 14│if errorlevel 102 goto f
  92. 15│if errorlevel 100 goto d
  93. 16│if errorlevel 82 goto R
  94. 17│if errorlevel 81 goto Q
  95. 18│if errorlevel 72 goto H
  96. 19│if errorlevel 70 goto F
  97. 20│if errorlevel 68 goto D
  98. 21│:F
  99. 22│:====backup subdirectories or files only
  100. 23│ECHO HYou have elected to do a PARTIAL backup of a hard disk
  101. 24│ECHO HDo you have enough diskettes? ═══
  102. 25│ECHO HAnswer following questions very carefully... H
  103. 26│FASTBACK C:
  104. 27│GOTO X1
  105. 28│:H
  106. 29│:====backup entire hard disk C:
  107. 30│ECHO HYou have elected to do a FULL backup of a hard disk
  108. 31│ECHO HDo you have enough diskettes? ═══
  109. 32│ECHO 5HYour selections:
  110. 33│ECHO 5H backup hard disk C
  111. 34│ECHO 5H begin at Root directory
  112. 35│ECHO 55H backup All subdirs
  113. 36│ECHO 55H backup All files
  114. 37│ECHO 53HEnter Y to skip  H
  115. 38│FASTBACK C: \ Y *.*
  116. 39│GOTO X1
  117. 40│:R
  118. 41│:====restore to hard disk C:
  119. 42│FRESTORE
  120. 43│GOTO X1
  121. 44│:D
  122. 45│:====list Fastback subdirectory
  123. 46│ECHO A
  124. 47│DIR C:\FASTBACK
  125. 48│ECHO 58HPress ──┘ to continue1H
  126. 49│bat READ 80H
  127. 50│CLS
  128. 51│GOTO TOP
  129. 52│:X1
  130. 53│:====exit after executing a backup or a restore
  131. 54│ECHO A
  132. 55│TT
  133. 56│ECHO A
  134. 57│DIR C:\FASTBACK\FASTBACK.*
  135. 58│ECHO 1000,3;800,2>SPK:
  136. 59│ECHO A
  137. 60│ASK 1H Do you want a hard copy?  (Printer must be on) (Y/N)
  138. 61│IF NOT ERRORLEVEL 1 GOTO PRINT
  139. 62│GOTO X
  140. 63│:PRINT
  141. 64│:====print the screen for a hard copy of what was done (keep with diskettes)
  142. 65│PRINTSCR |PAGE
  143. 66│:X
  144. 67│:====exit without executing a backup or a restore
  145. 68│ECHO 1H                                        
  146. ********************************** - END - *************************************
  147.  
  148. The author wants to thank the known creators of the Public Domain programs
  149. included in this ARC file: David Gwillin (MENU.COM), Tornsten Hoff (QUERY.COM)
  150. and Christopher J. Dunford (SPK.SYS).
  151.  
  152. If you have a good tip, please share it.  Thank you.
  153.  
  154. AUTHOR:               Francois R. Brenot    *    09/01/86
  155.                       c/o International TeleSystems, Inc.
  156.                       415 Norht Crescent Drive, Suite 120
  157.                       Beverly Hills, CA 90210
  158.                       (213) 274-7411 (voice)
  159.                       MCI Mail ID: 268-5665
  160.  
  161.                       You may also leave me a message on:
  162.  
  163.                       The Crest RBBS of Brentwood, CA
  164.                       Sysop: Eric Newhouse
  165.                       (213) 471-2518
  166.                       1200/2400bauds 8-N-1 * 24 hours/7 days
  167. ********************************************************************************
  168.